﻿using System;
using GameEditor.View;
using GameEngine.Model.Data;
using GameEngine.View;
using PureMVC.Interfaces;
using PureMVC.Patterns;
using SilverlightClientEditor.View.Components;
using SilverlightShowCase.View.Components;
using System.Windows.Controls;
using System.IO;
using GameEngine.Clients.Silverlight;

namespace SilverlightShowCase.Commands
{
    /// <summary>
    /// 
    /// </summary>
    public class Page_GamePlay_In_Command : SimpleCommand
    {
        override public void Execute(INotification notification)
        {
            IGameVO<int> game = notification.Body as IGameVO<int>;
            MyFacadeHelper.CreateGame(game);
            //var gameDataProxy = MyModelFacade.Helper.GetGameDataProxy(game);
            SilverlightApplicationFacadeHelper.DesktopNavigate(SampleSilverlightViewFacade.Helper.GetGameView());
        }
    }

    public class Page_GamePlay_Out_Command : SimpleCommand
    {
        override public void Execute(INotification notification)
        {
        }
    }
}
